import request from "@/utils/request.js"

// 获取关于党费收缴、党群通知、理论测验阅读量的统计
export const countDjNotice = data => {
	return request({
		url: `/app/dj/notice/countDjExamScore`,
		data
	})
}

// 获取关于党费通知的列表
export const getDjNoticeList = data => {
	return request({
		url: `/app/dj/notice/getDjNoticeList`,
		data
	})
}

// 修改通知状态为已读
export const setDjRead = id => {
	return request({
		url: `/app/dj/notice/${id}`,
		method: 'PUT',
		data: {
			djNoticeIds: id
		}
	})
}

// 获取理论测验的通知列表
export const getDjExamList = data => {
	return request({
		url: `/app/dj/notice/getDjExamList`,
		data
	})
}